API Documentation
MapResult.h
1 // MapResult.h
3 //
5 
6 namespace nkGraphics
7 {
11  struct MapResult
12  {
13  void* _data = nullptr ;
14 
15  unsigned int _rowPitch = 0 ;
16  unsigned int _depthPitch = 0 ;
17  } ;
18 }
nkGraphics::MapResult
Contains all information of the result of a map operation on a resource.
Definition: MapResult.h:12
nkGraphics::MapResult::_depthPitch
unsigned int _depthPitch
Information about memory layout : the byte size of a depth slice, if a texture.
Definition: MapResult.h:16
nkGraphics::MapResult::_rowPitch
unsigned int _rowPitch
Information about memory layout : the byte size of a row, if a texture.
Definition: MapResult.h:15
nkGraphics::MapResult::_data
void * _data
Pointer to mapped data.
Definition: MapResult.h:13
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7